package com.cinc.ebc.mm.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;

/**
 * @Description: 材料领用明细库存量
 * @Author: jeecg-boot
 * @Date:   2022-04-10
 * @Version: V1.0
 */
@Data
@ApiModel(value="材料领用明细库存量", description="材料领用明细库存量")
public class MmMaterialPickingStockModel {

    /**唯一标识*/
    @ApiModelProperty(value = "唯一标识")
    private java.lang.String id;
    /**领用明细ID*/
    @ApiModelProperty(value = "领用明细ID")
    private java.lang.String detailId;
    /**领用主表ID*/
    @ApiModelProperty(value = "领用主表ID")
    private java.lang.String mainId;
    /**行号*/
    @Excel(name = "行号", width = 15)
    @ApiModelProperty(value = "行号")
    private java.lang.Integer lineNo;
    /**本次领用数量*/
    @Excel(name = "本次领用数量", width = 15)
    @ApiModelProperty(value = "本次领用数量")
    private java.math.BigDecimal qty;
    /**制单数量*/
    @Excel(name = "制单数量", width = 15)
    @ApiModelProperty(value = "制单数量")
    private java.math.BigDecimal billQty;
    /**已领数量*/
    @Excel(name = "已领数量", width = 15)
    @ApiModelProperty(value = "已领数量")
    private java.math.BigDecimal pickingQty;
    /**未领数量*/
    @Excel(name = "未领数量", width = 15)
    @ApiModelProperty(value = "未领数量")
    private java.math.BigDecimal unpickingQty;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private String materialId;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private String materialNo;
	/**物料描述*/
	@Excel(name = "物料描述", width = 15)
    @ApiModelProperty(value = "物料描述")
    private String materialDesc;
	/**单位*/
    @Excel(name = "单位", width = 15, dictTable = "mdm_unit", dicText = "unit_name", dicCode = "unit_code")
    @Dict(dictTable = "mdm_unit", dicText = "unit_name", dicCode = "unit_code")
    @ApiModelProperty(value = "单位")
    private String unit;
	/**库存量*/
	@Excel(name = "库存量", width = 15)
    @ApiModelProperty(value = "库存量")
    private BigDecimal stockQty;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private BigDecimal sumPrice;
	/**批次*/
	@Excel(name = "批次", width = 15)
    @ApiModelProperty(value = "批次")
    private String batchNo;
	/**库房*/
	@Excel(name = "库房", width = 15, dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
	@Dict(dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
    @ApiModelProperty(value = "库房")
    private String warehouseId;
	/**库位*/
	@Excel(name = "库位", width = 15, dictTable = "mdm_storage_location", dicText = "location_no", dicCode = "id")
	@Dict(dictTable = "mdm_storage_location", dicText = "location_no", dicCode = "id")
    @ApiModelProperty(value = "库位")
    private String storageLocationId;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "mm_stock_status")
	@Dict(dicCode = "mm_stock_status")
    @ApiModelProperty(value = "状态")
    private String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**已分配*/
	@Excel(name = "已分配", width = 15)
    @ApiModelProperty(value = "已分配")
    private BigDecimal stockQtyAllocate;
	/**可用*/
	@Excel(name = "可用", width = 15)
    @ApiModelProperty(value = "可用")
    private BigDecimal stockQtyAvailable;
    /**项目*/
    @Excel(name = "项目", width = 15, dictTable = "quote_project", dicText = "project_name", dicCode = "id")
    @Dict(dictTable = "quote_project", dicText = "project_name", dicCode = "id")
    @ApiModelProperty(value = "项目")
    private String projectId;

}
